<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="if" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
	<title>授权机制</title>
	<link href="${contextPath}/resources/basicInfoCSS/appinfo.css" rel="stylesheet" type="text/css"/>
	<script src="${contextPath}/resources/basicInfoJS/suda.js" async="" charset="utf-8"type="text/javascript"></script>
	<script type="text/javascript" src="${contextPath}/resources/basicInfoJS/lang_zh.js"></script>
	<script type="text/javascript" src="${contextPath}/resources/basicInfoJS/gaea_1_22.js"></script>
   <script type="text/javascript" src="${contextPath}/resources/basicInfoJS/editAppBasic.js"></script>
</head>
<body class="B_op_info">
<div class="devel_wrap">
	<div class="devel_con" style="margin-top: 50px;"> 
		<div class="op_main_inner">
			<!-- 左侧开始 -->
			<jsp:include page="/WEB-INF/jsp/portal/left.jsp" flush="true"/>
			<!--左侧结束 -->
			<!--右侧开始-->
			<div class="op_main_r W_bora" id="pl_editAppBasic" style="padding-left: 40px;">
				<!-- op_title -->
				<div class="op_title">
					<div class="fl">
						<span class="W_f14 W_fb">应用状态</span>
					</div>
				</div>
				<!-- 流程 -->
				<div class="op_process clearfix" style="margin-top: 15px;margin-bottom: 25px;">
					<div id="n1" node-type="livestatus" class="op_app_progress  n4 p2 ">
						<ul class="step">
							<li class="no4 last">
								<span>上线</span>
							</li>
							<li class="no3">
								<span>审核</span>
							</li>
							<li class="no2">
								<span>开发</span>
							</li>
							<li class="no1">
								<span>申请</span>
							</li>
						</ul>
					</div>
					<a class="W_btnM_c W_btnM_c_dis" style="display: none;"><span>提交审核</span></a>
				</div>
				<div id ="showZone" node-type="showZone" >
					<div class="op_title">
						<div class="fl">
							<span class="W_f14 W_fb">应用基本信息</span>
						</div>
						<div class="fr">
							<a href="javascript:;" node-type="editBtn" class="op_title_btn" >
								<span id="edit">编辑</span>
							</a>
						</div>
					</div>
					<div class="info_form form_table">
						<dl class="clearfix">
							<dt>网站名称：</dt>
							<dd class="conbox">${appDetailsDto.webName}</dd>
						</dl>
						<dl class="clearfix">
							<dt>网站域名：</dt>
							<dd class="conbox">${appDetailsDto.webDomains}</dd>
						</dl>
						<dl class="clearfix">
							<dt>网站备案信息：</dt>
							<dd class="conbox">${appDetailsDto.webRecord}</dd>
						</dl>
						<dl class="clearfix">
							<dt>网站简介：</dt>
							<dd class="conbox">${appDetailsDto.appProfile}</dd>
						</dl>
						<dl class="clearfix">
							<dt>网站介绍：</dt>
							<dd class="conbox">${appDetailsDto.appDescribe}</dd>
						</dl>
					</div>
				</div>
				<!--showZone-->
				<!--editZone-->
				<div id ="editZone" node-type="editZone" style="display: none">
				<form action="${contextPath}/mobile/registerApplicationDetails" method="post">
                    <input  name="appId" value="${appDetailsDto.appId}" type="hidden">
					<div class="op_title">
						<div class="fl">
							<span class="W_f14 W_fb">应用基本信息</span>
						</div>
						<div class="fr"></div>
					</div>
					<div class="info_form form_table">
							<dl class="clearfix">
								<dt>网站名称：</dt>
								<dd class="conbox">
									<input  name="webName" value="${appDetailsDto.webName}"/>
								</dd>
							</dl>
							<dl class="clearfix">
								<dt>网站域名：</dt>
								<dd class="conbox">
									<input  name="webDomains" value="${appDetailsDto.webDomains}" />
								</dd>
							</dl>
							<dl class="clearfix">
								<dt>网站备案信息：</dt>
								<dd class="conbox">
									<input  name="webRecord" value="${appDetailsDto.webRecord}" />
								</dd>
							</dl>
							<dl class="clearfix">
								<dt>创建时间：</dt><dd class="conbox">${appDetailsDto.createTime}</dd>
							</dl>
							<dl class="clearfix">
	                            <dt>网站简介：</dt>
	                            <dd class="conbox">
	                            <input class="W_inputStp" name="appProfile" checktype="short_desc" value="${appDetailsDto.appProfile}" type="text"></dd>
	                            <dd data-tipsmsg="用于行为动态模块中应用介绍，应用授权页等，不超过15个汉字" class="tipbox warn_pos_2" tipscheck="short_desc"><div class="M_notice_warn">用于行为动态模块中应用介绍，应用授权页等，不超过15个汉字</div></dd>
	                        </dl>
	                        <dl class="clearfix">
                            <dt>网站介绍：</dt>
	                            <dd class="conbox">
	                            <textarea class="W_inputStp T_area" name="appDescribe" checktype="appIntro" >${appDetailsDto.appDescribe}</textarea>
	                            </dd>
	                            <dd data-tipsmsg="简述应用的作用、使用方法等信息，将显示在应用广场中，不超过1000汉字" class="tipbox" tipscheck="appIntro">
	                                <div class="M_notice_warn">简述应用的作用、使用方法等信息，将显示在应用广场中，不超过1000汉字</div>
	                            </dd>
	                        </dl>
						</div>
						<div class="info_form info_form_last form_table" style="padding-left:20%;">
							<dl class="p_btn clearfix">
								<dt>&nbsp;</dt>
								<dd class="conbox">
									<button type="submit" class="W_btn_a" >提交</button>
									<button type="reset" class="W_btn_a">取消</button>
								</dd>
								<dd class="tipbox warn_pos_2">
									<div class="M_notice_warn">该应用如果已经通过审核，修改需再次审核后方能生效！</div>
								</dd>
							</dl>
						</div>
					</form>
				</div>
			</div>
			<!--/右侧结束-->
		</div>
			<div class="op_footer" align="center" >
			 <h3 style="color: blue;"> 手机应用开发详情</h3>
			</div>
	</div>
</div>	
	<!--/主内容结束-->
	<noscript>
		<img width="0" height="0" src="http://beacon.sina.com.cn/a.gif?noScript" border="0" alt="" />
	</noscript>
	<script type="text/javascript" charset="utf-8">
		$(document).ready(function() {
			changePageInformation();
			$(".nav .haschild a").is(function(){  
		        $this = $(this);
		        if($this[0].href==String(window.location)){  
		            $this.parent().addClass("current");  
		        }  
		    });
		});
		//编辑和展示页面转换
		function changePageInformation() {
			$("#edit").click(function() {
				$("#showZone").toggle();
				$("#editZone").toggle();
			});
	    };
	</script>

</body>
</html>